Skip to main content

FontMakeWithStyleAndSize

Type​

operator

Summary​

Creates a new instance of the named font.

Syntax​

font <mName> with ( bold  | italic  | bold italic  ) style at size <mSize>

Description​

Creates a new instance of the named font.

Parameters​

NameTypeDescription

mName

An expression which evaluates to a string.

mSize

An Expression which evaluates to a number.

Examples​

// Create 20pt bold Arial font
variable tFont as Font
put font "Arial" with bold style at size 20 into tFont

Value​

NameTypeDescription

return

A new instance of the named font with style bold, italic, or bold italic, at size mSize points.

Thank you for your feedback!

Was this page helpful?